package com.example.myapplication

data class Person(val name:String,var age:Int) {
}

fun main() {
    `123456`()
}

// java无法调用这个函数。kotlin可以调用/
fun `123456`() {
    println("test1")
}


fun test(list:List<Int>): Int {
    val find = list.reduce { acc, i ->
        acc+i
    }
    return find
}

inline fun <reified T> getType( value: T): String {
    return T::class.java.simpleName
}



